<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<c:set var="path" value="${pageContext.request.contextPath }" />
<%@ taglib tagdir="/WEB-INF/tags" prefix="matrix"%>
<%@ taglib uri="http://matrixcsm.zkingsoft.com" prefix="cms"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> 
<c:set var="companyId" value="18" ></c:set>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
        <meta charset="utf-8">
        <meta http-equiv="x-ua-compatible" content="IE=edge" >
        <link rel="stylesheet" href="${path }/websites/demopc/css/bootstrap-3.3.5/css/bootstrap.css" type="text/css" >
        <link rel="stylesheet" href="${path }/websites/demopc/css/base.css" media="screen" type="text/css" >
        <link rel="stylesheet" href="${path }/websites/demopc/css/public.css" media="screen" type="text/css" >
       <link href="${path }/resource/css/styleOne/animate.min.css" rel="stylesheet" type="text/css" />
        <script type="text/javascript" src="${path }/websites/demopc/js/jquery-1.11.1.min.js"></script>	
        <script type="text/javascript" src="${path }/websites/demopc/js/pageSwitch.min.js"></script>
        <script type="text/javascript" src="${path }/websites/demopc/js/respond.js"></script>
			<cms:setting companyId="${companyId }" var="title" code="title"></cms:setting>
			<title data-index="0" id="selextTitle">${title.paramValue }</title>
    </head>
<body>
 <jsp:include page="_top.jsp"></jsp:include>
 <cms:art var="art" id="${param.id }" queryAround="true"></cms:art>
            <div class="container news-details">
                <div class="news-details-content">
                 <div class="detail-title">
             	     新闻资讯 
               </div>
                   <!-- 面包屑导航 -->
                <div class="breadleft">
                    <span>当前位置：</span><a  href="#">首页</a>&nbsp;&gt;&nbsp;<a href="#" >新闻</a>&nbsp;&gt;&nbsp;</a>&nbsp;&gt;&nbsp;正文
                </div>
                  <span class="news-details-title">${art.artTitle} </span>
                  <div class="details-list text-center">
                     <div class="bot-txt">
                       <span>来源:${art.artAuthor}</span>
                       <span>作者:${art.artAuthor}</span>
                      <%--  <fmt:formatDate value="${templateUnit.creTime}" pattern="yyyy-MM-dd"/> --%>
                       <span>发布时间:
                       <fmt:formatDate value="${art.artCreatetiem}" pattern="yyyy-MM-dd"/>
                       </span>
                     
                     </div>
                  </div>
                   <p>${art.artContent}</p>
                        </div>
                    <div class="details-link">
                      <div class="con-link">
                      <a <c:if test="${prev ne null}">
                      href="${path}/websites/demopc/views/news-details.jsp?id=${prev.artId}"</c:if>
                      >上一篇</a>
                       <span>(${prev.artTitle})</span>
                      </div> 
                      <div class="con-link"> 
                      <a  <c:if test="${next ne null}">
                      href="${path}/websites/demopc/views/news-details.jsp?id=${next.artId}"</c:if>
                      >下一篇</a>
                      <span>(${next.artTitle})</span>
                       </div> 
                    </div>  
                
            </div>
     
      <jsp:include page="_foot.jsp"></jsp:include>
</body>
</html>